package com.gulimall.authserver.feign;

import com.guigui.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("thrid-party")
@Component
public interface ThirdPartSmsFeignServices {

    @GetMapping("/sms/send")
    R sendSmsCode(@RequestParam("phone") String phone, @RequestParam("code")String code);
}
